 <div class="left">
  <!-- <div class="left_layout left_ad"><a href="#"><img src="<% $base_path %>/images/ad_area.gif" align="absmiddle" /></a></div> -->
 
 
<% if $controller != 'softwares' %>
  <div class="left_layout">
   <div class="type_title font_bold">产品类别</div>
   <div class="type_list">
   
   <% foreach from=$product_categories item=product_category %>
    <div class="type_top">
        <h5>
	        <a href="<% $base_url %>/products/category/id/<% $product_category.id %>">
	        <% $product_category.name %>
	        </a>
        </h5>
    </div>
    <ul>
     <% foreach from=$product_category.children item=product_subcategory %>
     <li>
        <a href="<% $base_url %>/products/subcategory/id/<% $product_subcategory.id %>">
            <% $product_subcategory.name %>
        </a>
     </li>
     <% /foreach %>
    </ul>
   <% /foreach %>

   </div>
   <div class="bt_bg"></div>  
  </div>
<% else %>
  <div class="left_layout">
   <div class="type_title font_bold">下载分类</div>
   <div class="type_list">
   <% foreach from=$download_categories item=download_category %>
    <div class="type_top"><h5>
        <a href="<% $base_url %>/<% $controller %>/category/id/<% $download_category.id %>">
            <% $download_category.name %></a></h5></div>
   <% /foreach %>
   </div>
   <div class="bt_bg"></div>  
  </div>
<% /if %>
  

  <div class="left_layout">
   <div class="select">
    <div id="lt"></div>
    <div class="font_bold" id="ct">产品搜索</div>
    <div id="rt"></div>
   </div>
   <dl class="type_list select_box">
    <dt class="font_bold item_over">选择××××，成就你我明天！</dt>
    <form action="<% $base_url %>/products/search/" method="get">
    <dd class="font_bold">关键词：<input name="key" type="text" size="15" />
    </dd>
    <dd>
    <select name="search_id">
      <option value="">选择产品类别</option>
      <% $categories_options %>
    </select>&nbsp;
    <input name="提交" type="submit" class="input_btn" value=" " />
    </dd>
    </form>
   </dl>
   <div class="bt_bg"></div>  
  </div>
  
  <div class="left_layout left_ad"><a href="#"><img src="<% $base_path %>/images/ad0.jpg" align="absmiddle" /></a></div>
  
<% if $controller != 'contact-us' %>
  <div class="left_layout">
   <div class="tp_bg"></div>
   <div class="type_list contact">
    <div class="contact_bar font_bold">联系我们</div>
    <div class="contact_bar linkman"><span>联系人：陈先生</span></div>
    <ul>
     <li><span>业务传真</span>：0592-2383996</li>    
     <li><img src="<% $base_path %>/images/phone_icon.gif" align="absmiddle" />&nbsp;0592-2222356/2296106</li>
     <li>QQ<span>交谈</span>：<a href="#"><img src="<% $base_path %>/images/qq.gif" align="absmiddle" /></a></li>
     <li style="border:none;">Msn：csb_yxt@hotmail.com</li>
    </ul>
   </div> 
   <div class="bt_bg"></div>  
  </div>
<% /if %>
 </div>

 
 <div class="right">
  <div class="right_ad">
    <a href="<% $base_url %>/"><img src="<% $base_path %>/images/right_ad.jpg" align="absmiddle" /></a>
  </div>